package org.example.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * @see clientInfo
 * 客户端标识信息
 */
public class clientInfo {
    //客户端组,我认为一个客户端允许存在多个组内进行通讯 数据临时通讯用完及时删除指定socket
    private List<String> group = new ArrayList<>();
    //是否为主数据客户端
    private Integer isDbClient =0;

    public List<String> getGroup() {
        return group;
    }

    public void setGroup(List<String> group) {
        this.group = group;
    }

    public Integer getIsDbClient() {
        return isDbClient;
    }

    public void setIsDbClient(Integer isDbClient) {
        this.isDbClient = isDbClient;
    }

    public clientInfo() {
    }

    public clientInfo(List<String> group,Integer isDbClient) {
        this.group = group;
        this.isDbClient = isDbClient;
    }

}
